package com.fkg.test.RxjavaRxtrofit;

import io.reactivex.Observable;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by FanKaige on 2017/11/6.
 */

public interface MovieService {

    @GET("top250")
    Call<MovieEntity> getTopMovieCall(@Query("start") int start,@Query("count") int count);

    @GET("top250")
    Observable<MovieEntity> getTopMovieOb(@Query("start") int start, @Query("count") int count);

}
